import React from 'react';
import ReactDOM from 'react-dom';
import App from './App';
import { Provider } from 'react-redux';
// 0. 下载依赖包react-redux
// 1. 导入Provider组件
import store from './store';
ReactDOM.render(
  // 2. 全局绑定store
  <Provider store={store}>
    <App />
  </Provider>,

  document.getElementById('root')
);
